import { IForm } from "@/base-ui/form";

export const dialogConfig: IForm = {
  formItems: [
    {
      filed: "name",
      type: "input",
      label: "商品名",
      rules: [],
      placeholder: "请输入商品名",
    },
    {
      filed: "oldPrice",
      type: "input",
      label: "原先价格",
      rules: [],
      placeholder: "请输入原先价格",
    },
    {
        filed: "newPrice",
        type: "input",
        label: "当前价格",
        rules: [],
        placeholder: "请输入当前价格",
      },
      {
        filed: "desc",
        type: "input",
        label: "描述",
        rules: [],
        placeholder: "请输入描述",
      },
      {
        filed: "imgUrl",
        type: "input",
        label: "图片",
        rules: [],
        placeholder: "请输入描述",
      },
      {
        filed: "address",
        type: "input",
        label: "地址",
        rules: [],
        placeholder: "请输入产地",
      },
  ],
  colLayout: {
    xs: 24,
  },
  labelWidth: "85px",
  formStyle: {
    padding: "5px 25px",
  },
};